<?xml version="1.0" encoding="UTF-8" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:c="http://java.sun.com/jsp/jstl/core"
          xmlns:p="http://primefaces.org/ui"
      	  xmlns:ui="http://java.sun.com/jsf/facelets"
      	  xmlns:t="http://myfaces.apache.org/tomahawk">
      
       <h:head>
      
      	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		
		<title>Project Manager Application</title>
		
		<h:outputStylesheet name="bootstrap.min.css" library="css" />
		<link rel="stylesheet" type="text/css" href="#{request.contextPath}/resources/font-awesome/css/font-awesome.css"/>
		<h:outputStylesheet name="sb-admin.css" library="css" />
		<h:outputStylesheet name="estilos.css" library="css" />
		<link rel="stylesheet" type="text/css" href="#{request.contextPath}/resources/octicons/octicons.css"/>				
						
		<h:outputScript library="primefaces" name="jquery/jquery.js" />
		<h:outputScript library="js" name="bootstrap.min.js" />
		<h:outputScript library="js" name="plugins/metisMenu/jquery.metisMenu.js" />
		<h:outputScript library="js" name="sb-admin.js" />
		
      </h:head>
      <h:body>
      	
      	<t:htmlTag id="wrapper" value="div">
      		
      		<nav class="navbar navbar-default navbar-fixed-top" role="navigation" style="margin-bottom: 0">
            	<div class="navbar-header">
                	<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    	<span class="sr-only">Toggle navigation</span>
                    	<span class="icon-bar"></span>
                    	<span class="icon-bar"></span>
                    	<span class="icon-bar"></span>
                	</button>
                	<a class="navbar-brand" href="/projectmanager-0.0.1-SNAPSHOT/app/home.xhtml">Project Manager v1.0</a>
            	</div>
            	<ul class="nav navbar-top-links navbar-right">
            		<li class="dropdown">
            			<a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    	</a>
                    	<ul class="dropdown-menu dropdown-user">
                        	<li>
                        		<a href="/projectmanager-0.0.1-SNAPSHOT/app/appSettings.xhtml"><i class="fa fa-gear fa-fw"></i> Settings</a>
                        	</li>
                        	<li class="divider"></li>
                        	<li>
                        		<h:form id="logoutForm">
                        			<h:commandLink action="#{loginBean.doLogout}"><i class="fa fa-sign-out fa-fw"></i> Logout</h:commandLink>
                        		</h:form>
                        	</li>
                    	</ul>
            		</li>   	
            	</ul>
            	
            	<div class="navbar-default navbar-static-side" role="navigation">
                	<div class="sidebar-collapse">
                    	<ul class="nav" id="side-menu">
                    		<li class="sidebar-search">
                           		<h:outputLabel value="Ano Lectivo: #{loginBean.anoLectivo}" style="font-size: 0.9em;" />
                        	</li>
                        	<li>
                            	<a href="/projectmanager-0.0.1-SNAPSHOT/app/grupo/grupos.xhtml"><i class="fa fa-users"></i> Grupos</a>
                        	</li>
                        	<li>
                            	<a href="/projectmanager-0.0.1-SNAPSHOT/app/aluno/alunos.xhtml"><i class="fa fa-user"></i> Alunos</a>
                        	</li>
                        	<li>
                            	<a href="/projectmanager-0.0.1-SNAPSHOT/app/orientador/orientadores.xhtml"><i class="fa fa-user"></i> Orientadores</a>
                        	</li>
                        	<li>
                            	<a href="#"><i class="fa fa-github"></i> GitHub<span class="fa arrow"></span></a>
                            	<ul class="nav nav-second-level">
                                	<li>
                                    	<a href="/projectmanager-0.0.1-SNAPSHOT/app/git/grupos.xhtml">Grupos Github</a>
                                	</li>
                                	<li>
                                    	<a href="/projectmanager-0.0.1-SNAPSHOT/app/feedGithub.xhtml">Feed</a>
                                	</li>
                            	</ul>
                        	</li>
                        	<li>
                            	<a href="#"><i class="fa fa-sitemap"></i> Redmine<span class="fa arrow"></span></a>
                            	<ul class="nav nav-second-level">
                                	<li>
                                    	<a href="/projectmanager-0.0.1-SNAPSHOT/app/resume/grupoRedmineResume.xhtml">Projectos/Grupos</a>
                                	</li>
                            	</ul>
                        	</li>
                        	<li>
                            	<a href="#"><i class="fa fa-envelope"></i> Emails<span class="fa arrow"></span></a>
                            	<ul class="nav nav-second-level">
                                	<li>
                                		<h:form id="checkEmailForm">
                                			<h:commandButton action="#{loginBean.checkEmail}">Check Emails</h:commandButton>
                        				</h:form>
                                	</li>
                                	<li>
                                    	<a href="/projectmanager-0.0.1-SNAPSHOT/app/resume/emailTemplateResume.xhtml">Email Templates</a>
                                	</li>
                            	</ul>
                        	</li>
                        </ul>
                	</div>
            	</div>
        	</nav>
        	<div id="page-wrapper">
        		<h:form id="form">
            		<div class="row">
                		<div class="col-lg-12">
                    		<ui:insert name="content" >
	   						</ui:insert>
                		</div>
            		</div>
            	</h:form>
        	</div>
      	</t:htmlTag>
	</h:body>
</html>      